﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StoreOnlineEntity.Entitys
{
    class Product
    {
        private int id;

        public int ID
        {
            get { return id; }
            set { id = value; }
        }

        private string name;

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        private ProductType productType;

        public ProductType ProductType
        {
            get { return productType; }
            set { productType = value; }
        }

        private DateTime createDate;

        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        private DateTime lastedModify;

        public DateTime LastedModify
        {
            get { return lastedModify; }
            set { lastedModify = value; }
        }

        private User lastedUser;

        public User LastedUser
        {
            get { return lastedUser; }
            set { lastedUser = value; }
        }

        private string imageURL;

        public string ImageURL
        {
            get { return imageURL; }
            set { imageURL = value; }
        }

        private string description;

        public string Description
        {
            get { return description; }
            set { description = value; }
        }

        private double price;

        public double Price
        {
            get { return price; }
            set { price = value; }
        }

        private int amount;

        public int Amount
        {
            get { return amount; }
            set { amount = value; }
        }
    }
}
